import Request from '@/comment/Request';

export const uploadImage = (file) => {
    let formData = new FormData();
    formData.append('file', file);
    return Request.post('/file/upload/image', formData);
};

export default {
    uploadImage
}